#!/usr/bin/env bash

GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w"  -o tmp/x86_64/search
GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w"  -o tmp/aarch64/search

lipo -create tmp/x86_64/search tmp/aarch64/search  -output tmp/search
